/**
 * Created by 吴克金 on 2018/6/5.
 */
import home from './home'
import components from './components'

let routesArray=[];

let toArray = function(pages) {

  Object.keys(pages).forEach((key) => {
    let obj = pages[key];
    Object.keys(obj).forEach((key) => {
      routesArray.push(obj[key])
    })
  })
};
toArray([home,components]);
export default routesArray;
